package com.sicent.upms.operate.model;

import java.io.Serializable;

public class ManagerUserInfo implements Serializable {

    private static final long serialVersionUID = -1L;

    public static Integer USER_STATUS_USED=1,USER_STATUS_NO=0;
    
    /** user_id : **/
    private Integer userId;
    /** user_name : **/
    private String userName;
    /** user_password : **/
    private String userPassword;
    /** user_status : 0未启用  1 启用 **/
    private Byte userStatus;
    /** first_login_time : **/
    private Integer firstLoginTime;
    /** last_login_time : **/
    private Integer lastLoginTime;
    /** version : **/
    private Integer version=0;
    /** create_time : **/
    private Integer createTime;
    /** create_user_id : **/
    private Integer createUserId;
    /** last_update_time : **/
    private Integer lastUpdateTime;
    /** last_update_user_id : **/
    private Integer lastUpdateUserId;
    /** user_type : **/
    private String userType;
    /** user_region : **/
    private String userRegion;

    public ManagerUserInfo() {
        
    }

    public ManagerUserInfo(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public ManagerUserInfo setUserId(Integer userId) {
        this.userId = userId;
        return this;
    }

    public String getUserName() {
        return userName;
    }

    public ManagerUserInfo setUserName(String userName) {
        this.userName = userName;
        return this;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public ManagerUserInfo setUserPassword(String userPassword) {
        this.userPassword = userPassword;
        return this;
    }

    public Byte getUserStatus() {
        return userStatus;
    }

    public ManagerUserInfo setUserStatus(Byte userStatus) {
        this.userStatus = userStatus;
        return this;
    }

    public Integer getFirstLoginTime() {
        return firstLoginTime;
    }

    public ManagerUserInfo setFirstLoginTime(Integer firstLoginTime) {
        this.firstLoginTime = firstLoginTime;
        return this;
    }

    public Integer getLastLoginTime() {
        return lastLoginTime;
    }

    public ManagerUserInfo setLastLoginTime(Integer lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
        return this;
    }

    public Integer getVersion() {
        return version;
    }

    public ManagerUserInfo setVersion(Integer version) {
        this.version = version;
        return this;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public ManagerUserInfo setCreateTime(Integer createTime) {
        this.createTime = createTime;
        return this;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public ManagerUserInfo setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
        return this;
    }

    public Integer getLastUpdateTime() {
        return lastUpdateTime;
    }

    public ManagerUserInfo setLastUpdateTime(Integer lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
        return this;
    }

    public Integer getLastUpdateUserId() {
        return lastUpdateUserId;
    }

    public ManagerUserInfo setLastUpdateUserId(Integer lastUpdateUserId) {
        this.lastUpdateUserId = lastUpdateUserId;
        return this;
    }

    public String getUserType() {
        return userType;
    }

    public ManagerUserInfo setUserType(String userType) {
        this.userType = userType;
        return this;
    }

    public String getUserRegion() {
        return userRegion;
    }

    public ManagerUserInfo setUserRegion(String userRegion) {
        this.userRegion = userRegion;
        return this;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userId=").append(userId);
        sb.append(", userName=").append(userName);
        sb.append(", userPassword=").append(userPassword);
        sb.append(", userStatus=").append(userStatus);
        sb.append(", firstLoginTime=").append(firstLoginTime);
        sb.append(", lastLoginTime=").append(lastLoginTime);
        sb.append(", version=").append(version);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", lastUpdateTime=").append(lastUpdateTime);
        sb.append(", lastUpdateUserId=").append(lastUpdateUserId);
        sb.append(", userType=").append(userType);
        sb.append(", userRegion=").append(userRegion);
        sb.append("]");
        return sb.toString();
    }
}